package model;

import library.*;

public class AudioFactory extends CueFactory {
	/**
	 * newCueInfo[0] = CUE TYPE		
	 * newCueInfo[1] = LABEL
	 * newCueInfo[2] = JMIDI CUE NUMBER
	 * newCueInfo[6] = FILE PATH (for audio cues only)
	 **/
	@Override
	public Cue build(String[] info)
	{
			AudioQ cue = new AudioQ(info[6], info[1]);
			cue.setNum(Integer.parseInt(info[2]));
			return cue;
	}
}
